import React from 'react'
import './style.scss'
const currentYear = new Date().getFullYear()

const Footer = () => {
  return (
    // footer是HTML元素
    <footer className="global-footer">
      <p>
        Copyright &copy; 2021 - {currentYear !== 2021 ? currentYear : 'present'}{' '}
        Jay_Ohhh All rights reserved. Improved by{' '}
        <a
          href="https://gitee.com/Jay_Ohhh"
          target="_blank"
          rel="noopener noreferrer"
        >
          Jay_Ohhh
        </a>{' '}
        &amp; Designed by{' '}
        <a
          href="https://github.com/xjh22222228"
          target="_blank"
          rel="noopener noreferrer"
        >
          xiejiahe
        </a>
        .
      </p>
      <a href="" target="_blank" rel="noopener noreferrer">
        Carefree Amin项目地址
      </a>
    </footer>
  )
}

export default Footer
